from flask import render_template

from app.views.admin import admin_blu


@admin_blu.route("/admin")
@admin_blu.route("/admin/index")
def index():
    return render_template("admin/index.html")


@admin_blu.route('/top')
def top():
    return render_template("admin/top.html")


@admin_blu.route('/menu')
def menu():
    return render_template("admin/menu.html")


@admin_blu.route('/bar')
def bar():
    return render_template('admin/bar.html')


@admin_blu.route('/main')
def main():
    return render_template('admin/main.html')


@admin_blu.route("/admin_list")
def admin_list():
    return render_template('admin/admin_list.html')


@admin_blu.route("/revise_password")
def revise_password():
    return render_template('admin/revise_password.html')


@admin_blu.route("/user_list")
def user_list():
    return render_template("admin/user_list.html")


@admin_blu.route("/add_user")
def add_user():
    return render_template("admin/add_user.html")


@admin_blu.route("/user_rank")
def user_rank():
    return render_template("admin/user_rank.html")


@admin_blu.route("/user_message")
def user_message():
    return render_template("admin/user_message.html")


@admin_blu.route("/basic_settings")
def basic_settings():
    return render_template("admin/basic_settings.html")


@admin_blu.route("/advertising_list")
def advertising_list():
    return render_template("admin/advertising_list.html")


@admin_blu.route("/advertising")
def advertising():
    return render_template("admin/advertising.html")


# @admin_blu.route("/")
# def ():
#     return render_template("admin/")
